
<%@page import="com.wanmait.hotelManagement.vo.Passenger"%>


<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%String path = request.getContextPath(); %> 
<style type="text/css">
 	#icon{
 		font-size: 25px;
 		margin-right: 10px;
 		font-weight: 300;
 	}
 	a{
 		text-decoration: none;
 	}

 	.huoDong:hover{
		cursor: pointer;
 	}
 	.header-upper{
 		box-shadow: 1px 3px 10px 5px rgba(240,240,240,0.8);
 	}
 	.logo-box{
 		padding: 0!important;
 	}
 	
 	.top_lass{
 		margin-top: 0!important;
 	}
 	.clearfixxx{
 		height:120px;
 		line-height: 120px;
 	}
 	.clearfixxx li{
 		margin-right:10px;
 		float:left;
 	}
 	.top_login_list{
 		height: 65px!important;
 		top:80px;
 	}

 	.huoDong:hover{
		cursor: pointer;
 	}
	.top_login{
		margin: 0;
	}
	
	.top_login_xl{
		top:80px!important;
		height: 50px;
	}
	.top_login_xl dt a{
		display:block;
		position:absolute;
		top:15px;
	}
	.main_pc{
		margin-top: 150px;
	}
	.w1999{
		margin-bottom: 150px;
	}
	.top_login{
		margin-top: 0!important;
	}
	.top_login_list{
		position:absolute;
    	top:72px!important;
	}
</style>
<!-- 开始 -->
<link href="<%=path %>/hotel/css/homeWallet.css" rel="stylesheet">
<link href="<%=path %>/hotel/css/iconfont.css" rel="stylesheet">
<link href="<%=path %>/hotel/css/index1.css" rel="stylesheet">
<link href="<%=path %>/hotel/css/myhome.css" rel="stylesheet">
<link href="<%=path %>/hotel/css/public.css" rel="stylesheet">

<!-- 结束 -->

<link href="<%=path %>/hotel/css/bootstrap.css" rel="stylesheet">
<link href="<%=path %>/hotel/css/style.css" rel="stylesheet">
<!-- Responsive File -->
<link href="<%=path %>/hotel/css/responsive.css" rel="stylesheet">
<link rel="stylesheet" href="http://at.alicdn.com/t/font_1996900_ol3ci08mgl.css">
<link rel="shortcut icon" href="<%=path %>/hotel/images/favicon.png" type="<%=path %>/hotel/image/x-icon">
<link rel="icon" href="<%=path %>/hotel/images/favicon.png" type="<%=path %>/hotel/image/x-icon">

<script src="<%=path %>/hotel/js/jquery.js"></script>
<script src="<%=path %>/hotel/js/popper.min.js"></script>
<script src="<%=path %>/hotel/js/bootstrap.min.js"></script>
<script src="<%=path %>/hotel/js/jquery-ui.js"></script>
<script src="<%=path %>/hotel/js/jquery.fancybox.js"></script>
<script src="<%=path %>/hotel/js/owl.js"></script>
<script src="<%=path %>/hotel/js/scrollbar.js"></script>
<script src="<%=path %>/hotel/js/appear.js"></script>
<script src="<%=path %>/hotel/js/wow.js"></script>
<script src="<%=path %>/hotel/js/custom-script.js"></script>
<script src="<%=path %>/hotel/js/jquery-3.5.1.min.js" type="text/javascript"></script>
<!-- 开始 -->
<script src="<%=path %>/hotel/list/js/headjs/analytics.js" type="text/javascript"></script>
<script src="<%=path %>/hotel/list/js/headjs/distpicker.data.js" type="text/javascript"></script>
<script src="<%=path %>/hotel/list/js/headjs/distpicker.js" type="text/javascript"></script>
<script src="<%=path %>/hotel/list/js/headjs/hm.js" type="text/javascript"></script>
<script src="<%=path %>/hotel/list/js/headjs/jquery.mobile-events.min.js" type="text/javascript"></script>
<script src="<%=path %>/hotel/list/js/headjs/jquery.pagination.js" type="text/javascript"></script>
<script src="<%=path %>/hotel/list/js/headjs/list_wrap.js" type="text/javascript"></script>
<script src="<%=path %>/hotel/list/js/headjs/myhome_H5.js" type="text/javascript"></script>
<script src="<%=path %>/hotel/list/js/headjs/myhome.js" type="text/javascript"></script>
<script src="<%=path %>/hotel/list/js/headjs/public_func.js" type="text/javascript"></script>
<script src="<%=path %>/hotel/list/js/headjs/public_h5.js" type="text/javascript"></script>
<script src="<%=path %>/hotel/list/js/headjs/public.js" type="text/javascript"></script>
<script src="<%=path %>/hotel/list/js/headjs/respond.js" type="text/javascript"></script>
<script src="<%=path %>/hotel/list/js/headjs/tingyun-rum.js" type="text/javascript"></script>

<!-- 结束 -->
<!-- Responsive Settings -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<div class="page-wrapper">
    <!-- Preloader -->
    <div class="preloader"><div class="icon"></div></div>
		<!--  Main  Header  --> 
        <header  class="main-header  header-style-one"> 
				<!--  Header  Upper  --> 
                <div  class="header-upper"> 
                        <div  class="inner-container  clearfix clearfixxx"> 
                                <!--Logo--> 
                                <div  class="logo-box"> 
                                        <div  class="logo"><a  href="<%=path %>/IndexServlet"  title="Hotera  -  Hotel  and  Restaurant  HTML  Template">
                                        <img  src="<%=path  %>/hotel/images/logo.png"  alt="Hotera  -  Hotel  and  Restaurant  HTML  Template"  title="Hotera  -  Hotel  and  Restaurant  HTML  Template"></a></div> 
                                </div> 
                                <div  class="nav-outer  clearfix"> 
                                        <!--Mobile  Navigation  Toggler--> 
                                          <div  class="mobile-nav-toggler"><span  class="icon  flaticon-menu-2"></span><span  class="txt">Menu</span></div> 

                                        <!--  Main  Menu  --> 
                                        <nav  class="main-menu  navbar-expand-md  navbar-light"> 
                                                <div  class="collapse  navbar-collapse  show  clearfix"  id="navbarSupportedContent"> 
                                                        <ul  class="navigation  clearfix"> 
                                                                <li  class="dropdown"><a  href="<%=path %>/IndexServlet">首页</a> 
                                                                        <!--  <ul> 


		                                        <li><a href="<%=path %>/index.html">Hotel Beach</a></li>
		
		                                        <li><a href="<%=path %>/index-2.html">City Hotel</a></li>
		
		                                        <li><a href="<%=path %>/index-3.html">Mountain Hotel</a></li>
		
		                                        <li><a href="<%=path %>/index-4.html">Luxury Hotel</a></li>
		
		                                        <li><a href="<%=path %>/index-5.html">Resort Hotel</a></li>
		
		                                        <li class="dropdown"><a href="index.html">Header Styles</a>
		
													<ul>


                                        <li><a href="<%=path %>/index.html">Hotel Beach</a></li>

                                        <li><a href="<%=path %>/index-2.html">City Hotel</a></li>

                                        <li><a href="<%=path %>/index-3.html">Mountain Hotel</a></li>

                                        <li><a href="<%=path %>/index-4.html">Luxury Hotel</a></li>

                                        <li><a href="<%=path %>/index-5.html">Resort Hotel</a></li>

                                        <li class="dropdown"><a href="index.html">Header Styles</a>

											<ul>

		                                        <li><a href="<%=path %>/index.html">Hotel Beach</a></li>
		
		                                        <li><a href="<%=path %>/index-2.html">City Hotel</a></li>
		
		                                        <li><a href="<%=path %>/index-3.html">Mountain Hotel</a></li>
		
		                                        <li><a href="<%=path %>/index-4.html">Luxury Hotel</a></li>
		
		                                        <li><a href="<%=path %>/index-5.html">Resort Hotel</a></li>
		
		                                        <li class="dropdown"><a href="index.html">Header Styles</a>
		
													<ul>


                                                <li><a href="index.html">Header Type 01</a></li>

                                                <li><a href="index-2.html">Header Type 02</a></li>

                                                <li><a href="index-3.html">Header Type 03</a></li>

                                                <li><a href="index-4.html">Header Type 04</a></li>

                                                <li><a href="index-5.html">Header Type 05</a></li>

                                            </ul>

                                        </li>

                                    </ul> -->

                                </li>
								
                                <li  class="dropdown"><a href="<%=path%>/RoomServlet">客房和套房</a>

                                    <!-- <ul>

                                        <li><a href="rooms-grid.html">Rooms Grid View</a></li>

                                        <li><a href="rooms-list.html">房间列表</a></li>

                                        <li><a href="rooms-gallery.html">Rooms Gallery</a></li>

                                        <li><a href="room-single.html">Room Single</a></li>

                                    </ul> -->



                                </li>

                                <li class="current"><a href="<%=path%>/HistoryServlet">关于我们</a></li>

                                <li  class="dropdown"><a href="<%=path%>/ActivityServlet">服务</a>
									
								</li>
                                <li class="dropdown"><a href="<%=path%>/MealsServlet">餐厅</a></li>

                                

                                <li><a href="<%=path%>/hotel/contact/contact.jsp">建议</a></li>

                            </ul>

                        </div>

                    </nav>

                </div>

                <%
                Passenger loginUser = (Passenger)session.getAttribute("loginUser");
                if(loginUser==null){
                	
                %>
                	<div class="top_login">
				        <div class="top_login_txt fl">
				            <span class="icon iconfont login_icon"></span>
				            <a class="login_txt" href="javascript:void(0);">会员登录</a>
				            <code>|</code>
				            <dl class="top_login_xl">
				                <dt><a href="<%=path%>/hotel/login/index.jsp">登录</a></dt>
				                
				            </dl>
				        </div>
				        <a href="<%=path %>/hotel/login/zhuce1.jsp" class="login_line fl">注册</a>
				    </div>

                    <!-- <div class="link-box">

                        <a href="room-single.html" class="theme-btn btn-style-one"><span class="btn-title">Book Your Stay</span></a>

                    </div> -->

                </div>
                <%	
                }else{
                %>
                	<div class="top_login_after top_lass">
			        <div class="top_login_box fl">
			            <span class="icon iconfont login_icon"></span>
			            <a href="javascript:void(0);" class="login_txt"><%=loginUser.getName() %></a>
			            <code>|</code>
			            <div class="top_login_list">
			                <a href="<%=path %>/OrderServlet">
			                    	我的订单
                   			</a>
                <!-- <a href="https://www.bthhotels.com/Member/Score">我的积分<span><b>0</b>分</span></a>
                <a href="https://www.bthhotels.com/Member/PetCard">如旅钱包<span>查询</span></a>
                <a href="https://www.bthhotels.com/Member/GiftCards">如旅钱包礼品卡<span></span></a>
                <a href="https://www.bthhotels.com/Member/DigitalCoupon">我的券<span><b>0</b>张</span></a> -->
                <a href="<%=path %>/hotel/userCenter/myinfo/myinfo.jsp">个人中心</a>
                <!-- <a href="https://www.bthhotels.com/Member/FavoritesLinkman">常用信息</a> -->
            </div>
        </div>
        <a href="<%=path %>/LoginServlet?action=exit" class="login_line login_quit fl">退出</a>
    </div>
                	<%-- <div class="info">

                        <ul class="clearfix">
                        	<li><a href="#"><span class="icon flaticon-padlock"></span><span class="txt"><img src="<%=path %>/hotel/images/<%=loginUser.getUsername() %>"/></span></a></li>

                            <li><a href="#"><span class="icon flaticon-padlock"></span><span class="txt"><%=loginUser.getUsername() %></span></a></li>

                            <li><a href="#"><span id="icon" class="iconfont icon-zhuce"></span><span class="txt">个人中心</span></a></li>

                        	<li><a href="#"><span id="icon" class="iconfont icon-zhuce"></span><span class="txt">退出</span></a></li>
                        </ul>

                    </div> --%>
                <%	
                }
                %>
			</div>

        </div>